#ifndef KEYBOARD_H
#define KEYBOARD_H

#include <QDialog>

static QList<QString> KEYS = {"1","2","3","4","5","6","7","8","9",".","0","Ent"};

namespace Ui {
class Keyboard;
}

class Keyboard : public QDialog
{
    Q_OBJECT

public:
    explicit Keyboard(QWidget *parent = nullptr);
    ~Keyboard();

private:
    Ui::Keyboard *ui;
    QList<QPushButton *> keys;

    void configKeys();
    void getButton(QString btnCaption);

signals:
    void buttonPressed(QString btnCaption);
};

#endif // KEYBOARD_H
